﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Tryit
{
    public class TeamDataDetail
    {
        public string HeroIcon { get; set; }
        //public string HeroIcon { get; set; }
        public string SummonerName { get; set; }
        public int Spell1Id { get; set; }
        public string Spell1Image => Spell1Id switch
        {
            4 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_flash.png",
            14 => "https://game.gtimg.cn/images/lol/act/img/spell/SummonerIgnite.png",
            11 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_smite.png",
            6 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_haste.png",
            12 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_teleport.png",
            21 => "https://game.gtimg.cn/images/lol/act/img/spell/SummonerBarrier.png",
            3 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_exhaust.png",
            1 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_boost.png",
            7 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_heal.png",
            32 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_Mark.png",
            _ => "https://game.gtimg.cn/images/lol/act/img/spell/SummonerMana.png"
        };
        public int Spell2Id { get; set; }
        public string Spell2Image => Spell2Id switch
        {
            4 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_flash.png",
            14 => "https://game.gtimg.cn/images/lol/act/img/spell/SummonerIgnite.png",
            11 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_smite.png",
            6 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_haste.png",
            12 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_teleport.png",
            21 => "https://game.gtimg.cn/images/lol/act/img/spell/SummonerBarrier.png",
            3 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_exhaust.png",
            1 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_boost.png",
            7 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_heal.png",
            32 => "https://game.gtimg.cn/images/lol/act/img/spell/Summoner_Mark.png",
            _ => "https://game.gtimg.cn/images/lol/act/img/spell/SummonerMana.png"
        };
        public int Item0 { get; set; }
        public string Item0Image => Item0 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item0}.png"
        };
        public int Item1 { get; set; }
        public string Item1Image => Item1 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item1}.png"
        };
        public int Item2 { get; set; }
        public string Item2Image => Item2 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item2}.png"
        };
        public int Item3 { get; set; }
        public string Item3Image => Item3 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item3}.png"
        };
        public int Item4 { get; set; }
        public string Item4Image => Item4 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item4}.png"
        };
        public int Item5 { get; set; }
        public string Item5Image => Item5 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item5}.png"
        };
        public int Item6 { get; set; }
        public string Item6Image => Item6 switch
        {
            7013 => "https://game.gtimg.cn/images/lol/act/img/item/3802.png",
            0 => "https://wegame.gtimg.com/g.26-r.c2d3c/helper/lol/assis/images/resources/items/0.png",
            _ => $"https://game.gtimg.cn/images/lol/act/img/item/{Item6}.png"
        };

        public string KDA { get; set; }
        public string Gold { get; set; }
        public string Damage { get; set; }
        public string DamageToken { get; set; }
        public bool IsCurrentSummonerName { get; set; }
      

    }
}
